'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
    const { router, controller } = app;
    
    router.post('/pdf/index', controller.pdf.index);

    router.post('/pdf/index2', controller.pdf.index2);

    router.post('/pdf/merge', controller.pdf.merge);

    router.post('/pdf/url', controller.pdf.url);
};